1bashThis demonstrates retrieving the directory path of the last argument from the previous command in Bash.!$:hbash internalhistory manipulationhistory expansion!$:h